<pdf>
    <dynamic-page page-size="a4">
        <div>
           {% for article in articles %}
            <table width="100%">
                <tr>
                    <td width="20%"  text-align="center" height="15">{{ article.reference }}</td>
                    <td width="40%"  height="15">{{ article.designation }}</td>
                    <td width="10%"  text-align="center" height="15">{{ (article.prixAchatHt*(1+article.tauxTva/100))|number_format(3) }}</td>
                    <td width="15%"  text-align="center" height="15">{{ (article.prixVente*(1+article.tauxTva/100)*(1-article.remise/100))|number_format(3) }}</td>
                    <td width="15%"  text-align="center" height="15">{{ (article.prixVente*(1+article.tauxTva/100)*(1-article.remiseMax/100))|number_format(3) }}</td>
                </tr>
            </table>
           {% endfor %}
        </div>
    </dynamic-page>
</pdf>